3.352 \(\int \frac{x (c+d x+e x^2)}{(a+b x^3)^3} \, dx\)

Optimal. Leaf size=239 \[ \frac{\left (2 b^{2/3} c-a^{2/3} e\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{54 a^{7/3} b^{4/3}}-\frac{\left (2 b^{2/3} c-a^{2/3} e\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{27 a^{7/3} b^{4/3}}-\frac{\left (a^{2/3} e+2 b^{2/3} c\right ) \tan ^{-1}\left (\frac{\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt{3} \sqrt [3]{a}}\right )}{9 \sqrt{3} a^{7/3} b^{4/3}}-\frac{3 a d-x (a e+4 b c x)}{18 a^2 b \left (a+b x^3\right )}-\frac{x \left (a e-b c x-b d x^2\right )}{6 a b \left (a+b x^3\right )^2} \]

[Out]

-(x*(a*e - b*c*x - b*d*x^2))/(6*a*b*(a + b*x^3)^2) - (3*a*d - x*(a*e + 4*b*c*x))/(18*a^2*b*(a + b*x^3)) - ((2*
b^(2/3)*c + a^(2/3)*e)*ArcTan[(a^(1/3) - 2*b^(1/3)*x)/(Sqrt[3]*a^(1/3))])/(9*Sqrt[3]*a^(7/3)*b^(4/3)) - ((2*b^
(2/3)*c - a^(2/3)*e)*Log[a^(1/3) + b^(1/3)*x])/(27*a^(7/3)*b^(4/3)) + ((2*b^(2/3)*c - a^(2/3)*e)*Log[a^(2/3) -
 a^(1/3)*b^(1/3)*x + b^(2/3)*x^2])/(54*a^(7/3)*b^(4/3))

________________________________________________________________________________________

Rubi [A]  time = 0.204025, antiderivative size = 239, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 8, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.381, Rules used = {1828, 1854, 1860, 31, 634, 617, 204, 628} \[ \frac{\left (2 b^{2/3} c-a^{2/3} e\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{54 a^{7/3} b^{4/3}}-\frac{\left (2 b^{2/3} c-a^{2/3} e\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{27 a^{7/3} b^{4/3}}-\frac{\left (a^{2/3} e+2 b^{2/3} c\right ) \tan ^{-1}\left (\frac{\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt{3} \sqrt [3]{a}}\right )}{9 \sqrt{3} a^{7/3} b^{4/3}}-\frac{3 a d-x (a e+4 b c x)}{18 a^2 b \left (a+b x^3\right )}-\frac{x \left (a e-b c x-b d x^2\right )}{6 a b \left (a+b x^3\right )^2} \]

Antiderivative was successfully verified.

[In]

Int[(x*(c + d*x + e*x^2))/(a + b*x^3)^3,x]

[Out]

-(x*(a*e - b*c*x - b*d*x^2))/(6*a*b*(a + b*x^3)^2) - (3*a*d - x*(a*e + 4*b*c*x))/(18*a^2*b*(a + b*x^3)) - ((2*
b^(2/3)*c + a^(2/3)*e)*ArcTan[(a^(1/3) - 2*b^(1/3)*x)/(Sqrt[3]*a^(1/3))])/(9*Sqrt[3]*a^(7/3)*b^(4/3)) - ((2*b^
(2/3)*c - a^(2/3)*e)*Log[a^(1/3) + b^(1/3)*x])/(27*a^(7/3)*b^(4/3)) + ((2*b^(2/3)*c - a^(2/3)*e)*Log[a^(2/3) -
 a^(1/3)*b^(1/3)*x + b^(2/3)*x^2])/(54*a^(7/3)*b^(4/3))

Rule 1828

Int[(Pq_)*(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> With[{q = m + Expon[Pq, x]}, Module[{Q = Pol
ynomialQuotient[b^(Floor[(q - 1)/n] + 1)*x^m*Pq, a + b*x^n, x], R = PolynomialRemainder[b^(Floor[(q - 1)/n] +
1)*x^m*Pq, a + b*x^n, x]}, Dist[1/(a*n*(p + 1)*b^(Floor[(q - 1)/n] + 1)), Int[(a + b*x^n)^(p + 1)*ExpandToSum[
a*n*(p + 1)*Q + n*(p + 1)*R + D[x*R, x], x], x], x] - Simp[(x*R*(a + b*x^n)^(p + 1))/(a*n*(p + 1)*b^(Floor[(q
- 1)/n] + 1)), x]] /; GeQ[q, n]] /; FreeQ[{a, b}, x] && PolyQ[Pq, x] && IGtQ[n, 0] && LtQ[p, -1] && IGtQ[m, 0]

Rule 1854

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Module[{q = Expon[Pq, x], i}, Simp[((a*Coeff[Pq, x, q] -
 b*x*ExpandToSum[Pq - Coeff[Pq, x, q]*x^q, x])*(a + b*x^n)^(p + 1))/(a*b*n*(p + 1)), x] + Dist[1/(a*n*(p + 1))
, Int[Sum[(n*(p + 1) + i + 1)*Coeff[Pq, x, i]*x^i, {i, 0, q - 1}]*(a + b*x^n)^(p + 1), x], x] /; q == n - 1] /
; FreeQ[{a, b}, x] && PolyQ[Pq, x] && IGtQ[n, 0] && LtQ[p, -1]

Rule 1860

Int[((A_) + (B_.)*(x_))/((a_) + (b_.)*(x_)^3), x_Symbol] :> With[{r = Numerator[Rt[a/b, 3]], s = Denominator[R
t[a/b, 3]]}, -Dist[(r*(B*r - A*s))/(3*a*s), Int[1/(r + s*x), x], x] + Dist[r/(3*a*s), Int[(r*(B*r + 2*A*s) + s
*(B*r - A*s)*x)/(r^2 - r*s*x + s^2*x^2), x], x]] /; FreeQ[{a, b, A, B}, x] && NeQ[a*B^3 - b*A^3, 0] && PosQ[a/
b]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 634

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 617

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[(a*c)/b^2]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + (2*c*x)/b], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rubi steps

\begin{align*} \int \frac{x \left (c+d x+e x^2\right )}{\left (a+b x^3\right )^3} \, dx &=-\frac{x \left (a e-b c x-b d x^2\right )}{6 a b \left (a+b x^3\right )^2}-\frac{\int \frac{-a e-4 b c x-3 b d x^2}{\left (a+b x^3\right )^2} \, dx}{6 a b}\\ &=-\frac{x \left (a e-b c x-b d x^2\right )}{6 a b \left (a+b x^3\right )^2}-\frac{3 a d-x (a e+4 b c x)}{18 a^2 b \left (a+b x^3\right )}+\frac{\int \frac{2 a e+4 b c x}{a+b x^3} \, dx}{18 a^2 b}\\ &=-\frac{x \left (a e-b c x-b d x^2\right )}{6 a b \left (a+b x^3\right )^2}-\frac{3 a d-x (a e+4 b c x)}{18 a^2 b \left (a+b x^3\right )}+\frac{\int \frac{\sqrt [3]{a} \left (4 \sqrt [3]{a} b c+4 a \sqrt [3]{b} e\right )+\sqrt [3]{b} \left (4 \sqrt [3]{a} b c-2 a \sqrt [3]{b} e\right ) x}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{54 a^{8/3} b^{4/3}}-\frac{\left (2 b^{2/3} c-a^{2/3} e\right ) \int \frac{1}{\sqrt [3]{a}+\sqrt [3]{b} x} \, dx}{27 a^{7/3} b}\\ &=-\frac{x \left (a e-b c x-b d x^2\right )}{6 a b \left (a+b x^3\right )^2}-\frac{3 a d-x (a e+4 b c x)}{18 a^2 b \left (a+b x^3\right )}-\frac{\left (2 b^{2/3} c-a^{2/3} e\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{27 a^{7/3} b^{4/3}}+\frac{\left (2 b^{2/3} c-a^{2/3} e\right ) \int \frac{-\sqrt [3]{a} \sqrt [3]{b}+2 b^{2/3} x}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{54 a^{7/3} b^{4/3}}+\frac{\left (2 b^{2/3} c+a^{2/3} e\right ) \int \frac{1}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{18 a^2 b}\\ &=-\frac{x \left (a e-b c x-b d x^2\right )}{6 a b \left (a+b x^3\right )^2}-\frac{3 a d-x (a e+4 b c x)}{18 a^2 b \left (a+b x^3\right )}-\frac{\left (2 b^{2/3} c-a^{2/3} e\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{27 a^{7/3} b^{4/3}}+\frac{\left (2 b^{2/3} c-a^{2/3} e\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{54 a^{7/3} b^{4/3}}+\frac{\left (2 b^{2/3} c+a^{2/3} e\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a}}\right )}{9 a^{7/3} b^{4/3}}\\ &=-\frac{x \left (a e-b c x-b d x^2\right )}{6 a b \left (a+b x^3\right )^2}-\frac{3 a d-x (a e+4 b c x)}{18 a^2 b \left (a+b x^3\right )}-\frac{\left (2 b^{2/3} c+a^{2/3} e\right ) \tan ^{-1}\left (\frac{\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt{3} \sqrt [3]{a}}\right )}{9 \sqrt{3} a^{7/3} b^{4/3}}-\frac{\left (2 b^{2/3} c-a^{2/3} e\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{27 a^{7/3} b^{4/3}}+\frac{\left (2 b^{2/3} c-a^{2/3} e\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{54 a^{7/3} b^{4/3}}\\ \end{align*}

Mathematica [A]  time = 0.28205, size = 214, normalized size = 0.9 \[ \frac{\frac{3 a b^{2/3} \left (-a^2 (3 d+2 e x)+a b x^2 \left (7 c+e x^2\right )+4 b^2 c x^5\right )}{\left (a+b x^3\right )^2}+\left (2 a^{2/3} b c-a^{4/3} \sqrt [3]{b} e\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )-2 \sqrt{3} a^{2/3} \sqrt [3]{b} \left (a^{2/3} e+2 b^{2/3} c\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a}}}{\sqrt{3}}\right )+2 \left (a^{4/3} \sqrt [3]{b} e-2 a^{2/3} b c\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{54 a^3 b^{5/3}} \]

Antiderivative was successfully verified.

[In]

Integrate[(x*(c + d*x + e*x^2))/(a + b*x^3)^3,x]

[Out]

((3*a*b^(2/3)*(4*b^2*c*x^5 - a^2*(3*d + 2*e*x) + a*b*x^2*(7*c + e*x^2)))/(a + b*x^3)^2 - 2*Sqrt[3]*a^(2/3)*b^(
1/3)*(2*b^(2/3)*c + a^(2/3)*e)*ArcTan[(1 - (2*b^(1/3)*x)/a^(1/3))/Sqrt[3]] + 2*(-2*a^(2/3)*b*c + a^(4/3)*b^(1/
3)*e)*Log[a^(1/3) + b^(1/3)*x] + (2*a^(2/3)*b*c - a^(4/3)*b^(1/3)*e)*Log[a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)
*x^2])/(54*a^3*b^(5/3))

________________________________________________________________________________________

Maple [A]  time = 0.01, size = 256, normalized size = 1.1 \begin{align*}{\frac{1}{ \left ( b{x}^{3}+a \right ) ^{2}} \left ({\frac{2\,bc{x}^{5}}{9\,{a}^{2}}}+{\frac{e{x}^{4}}{18\,a}}+{\frac{7\,c{x}^{2}}{18\,a}}-{\frac{ex}{9\,b}}-{\frac{d}{6\,b}} \right ) }+{\frac{e}{27\,{b}^{2}a}\ln \left ( x+\sqrt [3]{{\frac{a}{b}}} \right ) \left ({\frac{a}{b}} \right ) ^{-{\frac{2}{3}}}}-{\frac{e}{54\,{b}^{2}a}\ln \left ({x}^{2}-\sqrt [3]{{\frac{a}{b}}}x+ \left ({\frac{a}{b}} \right ) ^{{\frac{2}{3}}} \right ) \left ({\frac{a}{b}} \right ) ^{-{\frac{2}{3}}}}+{\frac{\sqrt{3}e}{27\,{b}^{2}a}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{x{\frac{1}{\sqrt [3]{{\frac{a}{b}}}}}}-1 \right ) } \right ) \left ({\frac{a}{b}} \right ) ^{-{\frac{2}{3}}}}-{\frac{2\,c}{27\,b{a}^{2}}\ln \left ( x+\sqrt [3]{{\frac{a}{b}}} \right ){\frac{1}{\sqrt [3]{{\frac{a}{b}}}}}}+{\frac{c}{27\,b{a}^{2}}\ln \left ({x}^{2}-\sqrt [3]{{\frac{a}{b}}}x+ \left ({\frac{a}{b}} \right ) ^{{\frac{2}{3}}} \right ){\frac{1}{\sqrt [3]{{\frac{a}{b}}}}}}+{\frac{2\,c\sqrt{3}}{27\,b{a}^{2}}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{x{\frac{1}{\sqrt [3]{{\frac{a}{b}}}}}}-1 \right ) } \right ){\frac{1}{\sqrt [3]{{\frac{a}{b}}}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(e*x^2+d*x+c)/(b*x^3+a)^3,x)

[Out]

(2/9/a^2*c*b*x^5+1/18/a*e*x^4+7/18*c/a*x^2-1/9*e*x/b-1/6/b*d)/(b*x^3+a)^2+1/27/a/b^2/(1/b*a)^(2/3)*ln(x+(1/b*a
)^(1/3))*e-1/54/a/b^2/(1/b*a)^(2/3)*ln(x^2-(1/b*a)^(1/3)*x+(1/b*a)^(2/3))*e+1/27/a/b^2/(1/b*a)^(2/3)*3^(1/2)*a
rctan(1/3*3^(1/2)*(2/(1/b*a)^(1/3)*x-1))*e-2/27/b/a^2/(1/b*a)^(1/3)*ln(x+(1/b*a)^(1/3))*c+1/27/b/a^2/(1/b*a)^(
1/3)*ln(x^2-(1/b*a)^(1/3)*x+(1/b*a)^(2/3))*c+2/27/b/a^2*3^(1/2)/(1/b*a)^(1/3)*arctan(1/3*3^(1/2)*(2/(1/b*a)^(1
/3)*x-1))*c

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(e*x^2+d*x+c)/(b*x^3+a)^3,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [C]  time = 9.65986, size = 5632, normalized size = 23.56 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(e*x^2+d*x+c)/(b*x^3+a)^3,x, algorithm="fricas")

[Out]

1/108*(24*b^2*c*x^5 + 6*a*b*e*x^4 + 42*a*b*c*x^2 - 12*a^2*e*x - 18*a^2*d - 2*(a^2*b^3*x^6 + 2*a^3*b^2*x^3 + a^
4*b)*((1/2)^(1/3)*(I*sqrt(3) + 1)*((8*b^2*c^3 + a^2*e^3)/(a^7*b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I*sqrt(3) - 1)/(a^4*b^2*((8*b^2*c^3 + a^2*e^3)/(a^7*b^4) - (8*b^2*c
^3 - a^2*e^3)/(a^7*b^4))^(1/3)))*a^4*b*e^2 - 8*a*b*c^2*e + 2*(8*b^2*c^3 + a^2*e^3)*x - 3/2*sqrt(1/3)*(((1/2)^(
1/3)*(I*sqrt(3) + 1)*((8*b^2*c^3 + a^2*e^3)/(a^7*b^4) - (8*b^2*c^3 - a^2*e^3)/(a^7*b^4))^(1/3) + 4*(1/2)^(2/3)
*c*e*(I*sqrt(3) - 1)/(a^4*b^2*((8*b^2*c^3 + a^2*e^3)/(a^7*b^4) - (8*b^2*c^3 - a^2*e^3)/(a^7*b^4))^(1/3)))*a^5*
b^3*c + a^4*b*e^2)*sqrt(-(((1/2)^(1/3)*(I*sqrt(3) + 1)*((8*b^2*c^3 + a^2*e^3)/(a^7*b^4) - (8*b^2*c^3 - a^2*e^3
)/(a^7*b^4))^(1/3) + 4*(1/2)^(2/3)*c*e*(I*sqrt(3) - 1)/(a^4*b^2*((8*b^2*c^3 + a^2*e^3)/(a^7*b^4) - (8*b^2*c^3
- a^2*e^3)/(a^7*b^4))^(1/3)))^2*a^4*b^2 + 32*c*e)/(a^4*b^2))))/(a^2*b^3*x^6 + 2*a^3*b^2*x^3 + a^4*b)

________________________________________________________________________________________

Sympy [A]  time = 3.38543, size = 170, normalized size = 0.71 \begin{align*} \operatorname{RootSum}{\left (19683 t^{3} a^{7} b^{4} + 162 t a^{3} b^{2} c e - a^{2} e^{3} + 8 b^{2} c^{3}, \left ( t \mapsto t \log{\left (x + \frac{1458 t^{2} a^{5} b^{3} c + 27 t a^{4} b e^{2} + 8 a b c^{2} e}{a^{2} e^{3} + 8 b^{2} c^{3}} \right )} \right )\right )} + \frac{- 3 a^{2} d - 2 a^{2} e x + 7 a b c x^{2} + a b e x^{4} + 4 b^{2} c x^{5}}{18 a^{4} b + 36 a^{3} b^{2} x^{3} + 18 a^{2} b^{3} x^{6}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(e*x**2+d*x+c)/(b*x**3+a)**3,x)

[Out]

RootSum(19683*_t**3*a**7*b**4 + 162*_t*a**3*b**2*c*e - a**2*e**3 + 8*b**2*c**3, Lambda(_t, _t*log(x + (1458*_t
**2*a**5*b**3*c + 27*_t*a**4*b*e**2 + 8*a*b*c**2*e)/(a**2*e**3 + 8*b**2*c**3)))) + (-3*a**2*d - 2*a**2*e*x + 7
*a*b*c*x**2 + a*b*e*x**4 + 4*b**2*c*x**5)/(18*a**4*b + 36*a**3*b**2*x**3 + 18*a**2*b**3*x**6)

________________________________________________________________________________________

Giac [A]  time = 1.10307, size = 306, normalized size = 1.28 \begin{align*} -\frac{{\left (2 \, b c \left (-\frac{a}{b}\right )^{\frac{1}{3}} + a e\right )} \left (-\frac{a}{b}\right )^{\frac{1}{3}} \log \left ({\left | x - \left (-\frac{a}{b}\right )^{\frac{1}{3}} \right |}\right )}{27 \, a^{3} b} + \frac{\sqrt{3}{\left (\left (-a b^{2}\right )^{\frac{1}{3}} a e - 2 \, \left (-a b^{2}\right )^{\frac{2}{3}} c\right )} \arctan \left (\frac{\sqrt{3}{\left (2 \, x + \left (-\frac{a}{b}\right )^{\frac{1}{3}}\right )}}{3 \, \left (-\frac{a}{b}\right )^{\frac{1}{3}}}\right )}{27 \, a^{3} b^{2}} + \frac{4 \, b^{2} c x^{5} + a b x^{4} e + 7 \, a b c x^{2} - 2 \, a^{2} x e - 3 \, a^{2} d}{18 \,{\left (b x^{3} + a\right )}^{2} a^{2} b} + \frac{{\left (\left (-a b^{2}\right )^{\frac{1}{3}} a b^{2} e + 2 \, \left (-a b^{2}\right )^{\frac{2}{3}} b^{2} c\right )} \log \left (x^{2} + x \left (-\frac{a}{b}\right )^{\frac{1}{3}} + \left (-\frac{a}{b}\right )^{\frac{2}{3}}\right )}{54 \, a^{3} b^{4}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(e*x^2+d*x+c)/(b*x^3+a)^3,x, algorithm="giac")

[Out]

-1/27*(2*b*c*(-a/b)^(1/3) + a*e)*(-a/b)^(1/3)*log(abs(x - (-a/b)^(1/3)))/(a^3*b) + 1/27*sqrt(3)*((-a*b^2)^(1/3
)*a*e - 2*(-a*b^2)^(2/3)*c)*arctan(1/3*sqrt(3)*(2*x + (-a/b)^(1/3))/(-a/b)^(1/3))/(a^3*b^2) + 1/18*(4*b^2*c*x^
5 + a*b*x^4*e + 7*a*b*c*x^2 - 2*a^2*x*e - 3*a^2*d)/((b*x^3 + a)^2*a^2*b) + 1/54*((-a*b^2)^(1/3)*a*b^2*e + 2*(-
a*b^2)^(2/3)*b^2*c)*log(x^2 + x*(-a/b)^(1/3) + (-a/b)^(2/3))/(a^3*b^4)